vim9script noclear

import autoload 'c_cpp_utils.vim'
if !exists(":SwitchHeaderSource")
    command -nargs=0 -buffer SwitchHeaderSource call c_cpp_utils.SwitchHeaderSource()
    nnoremap <buffer> <C-k><C-o> :SwitchHeaderSource<CR>
    b:undo_ftplugin ..= ' | delcommand -buffer SwitchHeaderSource | nunmap <buffer> <C-k><C-o>'
endif
